import request from "@/utils/request.js";

// 获取住院记录
export function getInhospitalList(data) {
  return request.post('bh/inhospital/record',data,{sign:true});
}

// 获取住院信息
export function getInhospital(data) {
  return request.post('bh/inhospital/info',data,{sign:true});
}

// 创建订单
export function createPreOrder(data) {
  return request.post('bh/inhospital/create/pre',data,{sign:true});
}

// 查询订单
export function queryOrder(data) {
  return request.post('bh/inhospital/query/order',data,{sign:true});
}

// dopay
export function dopay(data) {
  return request.post('bh/inhospital/dopay',data,{sign:true});
}

// 获得分页信息
export function page(data) {
  return request.post('bh/inhospital/page',data,{sign:true});
}

// 获得本地住院预交记录
export function list(data) {
  return request.post('bh/inhospital/list',data,{sign:true});
}

// 获取住院预交记录
export function preRecord(data) {
  return request.post('bh/inhospital/pre/record',data,{sign:true});
}

// 获取住院费用记录
export function payRecord(data) {
  return request.post('bh/inhospital/pay/record',data,{sign:true});
}

// 获取住院日清单
export function dailyRecord(data) {
  return request.post('bh/inhospital/daily/record',data,{sign:true});
}

// 获取住院总费用
export function totalCost(data) {
  return request.post('bh/inhospital/total/cost',data,{sign:true});
}
